// ---------------------轮播图----------------
$.ajax({
    url: 'http://localhost:8888/api/swipers',
    success: function(res) {
        var html = template('tpl-lunbo', res);
        $('#lunbo').html(html);
    }
  });



// -------------------youqinglianjie------------------
  $.ajax({
    url: 'http://localhost:8888/api/links',
    success: function(res) {
        var html = template('tpl-youqing', res);
        $('.kr_collaborator').html(html);
    }
  });
